From 158a3d4f04edb9f34e9e0d3f5c4405fdf3d032c0 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 17 Jun 2023 14:48:18 -0400 Subject: [PATCH] inspector: Realize AT ontexts Otherwise we don't get change notification... --- gtk/inspector/a11y.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/inspector/a11y.c b/gtk/inspector/a11y.c index e06e767bea..c07b4f0290 100644 --- a/gtk/inspector/a11y.c +++ b/gtk/inspector/a11y.c @@ -486,6 +486,7 @@ gtk_inspector_a11y_set_object (GtkInspectorA11y *sl, context = gtk_accessible_get_at_context (GTK_ACCESSIBLE (sl->object)); if (context != NULL) { + gtk_at_context_realize (context); g_signal_connect_swapped (context, "state-change", G_CALLBACK (refresh_all), sl); g_object_unref (context); } -- 2.30.2